package com.ttg.web.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.model.dto.open.QueryTaskListDto;
import com.ttg.model.pojo.TaskInfo;

import java.util.List;

public interface TaskInfoDao extends IService<TaskInfo> {
    TaskInfo getByTag(String taskTag);


    void updateLastExcuteDateByTag(String taskTag, Integer excuteTime);


    void setTaskFail(String taskTag,String message);


    Integer countTodayUnExcuteSameTypeTask(Integer type, Integer excuteDate);

    void setTaskNormal(String taskTag);

    void setTaskInProgress(String taskTag);
}
